from swipe import *

for i in range(2):
    swipe_to_right(driver)
    swipe_to_left(driver)
    swipe_to_up(driver)
    swipe_to_down(driver)